import unittest
from unittest_frame.HTMLTestRunner import HTMLTestRunner
suite = unittest.TestLoader().discover("./", "Mytest_04.py")
file=open("test_04.html","wb")
runner = HTMLTestRunner(stream=file,title="我的第一个html测试报告")
runner.run(suite)
file.close()
